﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: DownServerEntity.cs
// 修改时间：2020-9-8 10:40:02
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：DownServer 的实体类.
	/// </summary>
	[Table("DownServer")]
	public partial class DownServerEntity
	{
		#region Properties
		private int? _serverID = 0;
		/// <summary>
		/// 镜像服务器ID(主键)
		/// </summary>
		[Column("ServerID",TypeName="int")]
		[Key]
		public int? ServerID
		{
			get {return _serverID;}
			set {_serverID = value;}
		}
		
		private System.String _serverName = string.Empty;
		/// <summary>
		/// 镜像服务器名
		/// </summary>
		[Column("ServerName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ServerName
		{
			get {return _serverName;}
			set {_serverName = value;}
		}
		
		private System.String _serverUrl = string.Empty;
		/// <summary>
		/// 镜像服务器地址
		/// </summary>
		[Column("ServerUrl",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ServerUrl
		{
			get {return _serverUrl;}
			set {_serverUrl = value;}
		}
		
		private System.String _serverLogo = string.Empty;
		/// <summary>
		/// 镜像服务器Logo
		/// </summary>
		[Column("ServerLogo",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ServerLogo
		{
			get {return _serverLogo;}
			set {_serverLogo = value;}
		}
		
		private int? _orderSort = 0;
		/// <summary>
		/// 镜像服务器排序ID
		/// </summary>
		[Column("OrderSort",TypeName="int")]
		public int? OrderSort
		{
			get {return _orderSort;}
			set {_orderSort = value;}
		}
		
		private int? _showType = 0;
		/// <summary>
		/// 镜像服务器显示方式
		/// </summary>
		[Column("ShowType",TypeName="int")]
		public int? ShowType
		{
			get {return _showType;}
			set {_showType = value;}
		}
		
		#endregion
	}
}
